.\"   $Id: bigvia.3,v 1.1 2002/03/08 13:51:01 fred Exp $
.\" @(#)bigvia.2 2.11 91/08/22 ; Labo masi cao-vlsi; Author : Frederic Petrot
.if t \{\
.so man1/alc_contents.mac
.XS \n%
.ti 0.2i
bigvia
.XE
.XS1 \n%
.ti 0.2i
bigvia
.XE1 \}
.TH BIGVIA 3 "October 1, 1997" "ASIM/LIP6" "MBK PHYSICAL UTILITY FUNCTIONS"
.SH NAME
bigvia \- draws a non minimal via as a bunch of vias
.so man1/alc_origin.1
.SH SYNOPSIS
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include "mph.h"
void \(**bigvia(figure, viatype, x, y, dx, dy)
phfig_list \(**figure;
char viatype;
long x, y, dx, dy;
.ft R
.fi
.SH PARAMETERS
.TP 20
\fIfigure\fP
Pointer to the physical figure in the which vias must be put.
.TP 20
\fIviatype\fP
Contact type to be put.
.TP 20
\fIx, y\fP
Coordinate of the center of the bigvia.
.TP 20
\fIdx, dy\fP
Maximun rectangle to be filled with vias.
.SH DESCRIPTION
\fBbigvia\fP draws as many vias as necessary to fill the rectangle defined by
its \fIdx\fP and \fPdy\fP arguments.
The ``bigvia'' center is indicated with \fIdx\fP and \fPdy\fP, thus making this
function much like \fBaddphvia\fP.
The necessary segments are drawn to avoid having notches or other drc rules
violated.
.br
This function is tipically used by routers when connecting two non minimal wires,
like supplies or clocks.
.br
The values for drawing the via correctly, ie avoid drc violations, are taken
from the idps set of rules, and are not changeable at run time.
.SH ERRORS
.RS
"*** mbk error ***
bigvia impossible : negative values dx, dy in figure figure at (x, y)"
.RE
If either \fIdx\fP or \fIdy\fP are negative, the function complains and exits.
.SH EXAMPLE
.ta 3n 6n 9n 12n 15n 18n 21n
.nf
.if n \{\
.ft B \}
.if t \{\
.ft CR \}
#include "mph.h"
#define BigVia(x, y, dx, dy) \\
	bigvia(WORK_PHFIG, CONT_VIA, x, y, dx, dy)
.ft R
.fi
.SH SEE ALSO
.BR mbk (1),
.BR addphvia (3),
.BR addphseg (3).


.so man1/alc_bug_report.1

